import time

import requests

Body = {'content': '718676758778',
        'essay': '5fd339bc2cfc18cf70b251f8'}

Headers = {
    'Cookie':'TrainingPlatform-sid=s%3AjK33VKId3NVJcb-ChcgWmUx4S7BviH2l.0ar30eDBIQY8fxJAGgpyKfjFiOz4UbWcZKqkTCZFHlE; XSRF-TOKEN=kMvIdd6X-eb_yzsJidHW1qbMer4SWX5JU86U; local-state={%22_id%22:%225fb4c509ec9aaf6b109d02f4%22%2C%22username%22:%22c14%22%2C%22email%22:%22c14%22%2C%22roles%22:[%22user%22]%2C%22isTainingUser%22:true%2C%22department%22:%22%E4%B8%8A%E6%B5%B7%E5%85%AC%E5%AE%89%E5%B1%80%22%2C%22isReset%22:true%2C%22isModifyPersonal%22:false}',
    'X-XSRF-TOKEN':'kMvIdd6X-eb_yzsJidHW1qbMer4SWX5JU86U'
}

for i in range(100):
    response = requests.post(url = "http://172.16.60.14/comment", data = Body, headers=Headers)
    if i%10 == 0:
        time.sleep(20)
    print(response)